package com.gel.shortLink.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gel.shortLink.admin.dao.entity.GroupDO;
import com.gel.shortLink.admin.dto.req.ShortLinkGroupSortReqDTO;
import com.gel.shortLink.admin.dto.req.ShortLinkGroupUpdateReqDTO;
import com.gel.shortLink.admin.dto.resp.ShortLinkGroupRespDTO;

import java.util.List;

/**
* @author MJB_Computer
* @description 针对表【t_group】的数据库操作Service
* @createDate 2025-07-08 16:28:18
*/
public interface GroupService extends IService<GroupDO> {

    void saveGroup(String name);
    void saveGroup(String username,String name);

    List<ShortLinkGroupRespDTO> listGroup();

    void updateGroup(ShortLinkGroupUpdateReqDTO requestParam);

    void deleteGroup(String gid);

    void sortGroup(List<ShortLinkGroupSortReqDTO> requestParam);
}
